package com.financing.platform.dao;

 
import java.sql.SQLException;
import java.util.List;

import com.financing.platform.dto.ActivitesDTO;
import com.financing.platform.dto.ActivitesExpandDTO;


public interface IActivitesDao extends IBaseDao {
	
	/**
	 * 根据活动code查询活动
	 * @param activitesCode
	 * @return
	 */
	public ActivitesDTO searchActivitesByCode(String activitesCode) throws SQLException;
	
	/**
	 * 根据活动
	 * @param activitesCode
	 * @return
	 */
	public List<ActivitesExpandDTO> searchActivitesExpand(String activitesCode)
			throws SQLException;
	
	
	/**
	 * 更新当前活动已发放总金额
	 * @param dto
	 * @return
	 * @throws Exception 
	 */
	public int updateAcitivitesNowAmount(ActivitesDTO dto) throws Exception;
	
	
}
